
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>01-Hello World案例 · 千锋大前端小册-HarmonyOS</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="古艺散人">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../../project/" />
    
    
    <link rel="prev" href="../01-preface/01-认识华为鸿蒙.html" />
    

    
        <link rel="shortcut icon" href='../../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="bookmark" href='../../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="apple-touch-icon" href='../../source/images/apple-touch-icon.jpg'>
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="../../source/images/apple-touch-icon.jpg">
        
        <link rel="apple-touch-icon" sizes="180x180" href="../../source/images/apple-touch-icon.jpg">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../01-preface/01-认识华为鸿蒙.html">
            
                <a href="../01-preface/01-认识华为鸿蒙.html">
            
                    
                    基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../01-preface/01-认识华为鸿蒙.html">
            
                <a href="../01-preface/01-认识华为鸿蒙.html">
            
                    
                    认识鸿蒙
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="../01-preface/01-认识华为鸿蒙.html">
            
                <a href="../01-preface/01-认识华为鸿蒙.html">
            
                    
                    01-认识华为鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="../01-preface/02-鸿蒙系统定义.html">
            
                <a href="../01-preface/02-鸿蒙系统定义.html">
            
                    
                    02-鸿蒙系统定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="../01-preface/03-两种开发方式.html">
            
                <a href="../01-preface/03-两种开发方式.html">
            
                    
                    03-两种开发方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.4" data-path="../01-preface/04-JS框架架构.html">
            
                <a href="../01-preface/04-JS框架架构.html">
            
                    
                    04-JS UI框架架构
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../01-preface/01-认识华为鸿蒙.html">
            
                <a href="../01-preface/01-认识华为鸿蒙.html">
            
                    
                    初探鸿蒙
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.2.1" data-path="01-hello-world.html">
            
                <a href="01-hello-world.html">
            
                    
                    01-Hello World案例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../../project/">
            
                <a href="../../project/">
            
                    
                    项目实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../../project/01-环境搭建.html">
            
                <a href="../../project/01-环境搭建.html">
            
                    
                    01-环境搭建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../../thanks/">
            
                <a href="../../thanks/">
            
                    
                    感谢
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >01-Hello World案例</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world"><b></b>&#x4F7F;&#x7528;JS&#x8BED;&#x8A00;&#x5F00;&#x53D1; Hello World</a></li><ul><ul><li><span class="title-icon "></span><a href="#&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><b></b>&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;</a></li><li><span class="title-icon "></span><a href="#&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><b></b>&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;</a></li><li><span class="title-icon "></span><a href="#&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;"><b></b>&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;</a></li></ul></ul></ul></div><a href="#&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world"><a name="&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world" class="anchor-navigation-ex-anchor" href="#&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world" class="plugin-anchor" href="#&#x4F7F;&#x7528;js&#x8BED;&#x8A00;&#x5F00;&#x53D1;-hello-world"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4F7F;&#x7528;JS&#x8BED;&#x8A00;&#x5F00;&#x53D1; Hello World</h1>
<h3 id="&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><a name="&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;" class="anchor-navigation-ex-anchor" href="#&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;" class="plugin-anchor" href="#&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7F16;&#x5199;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;</h3>
<p>1.&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;&#x5185;&#x6709;&#x4E00;&#x4E2A;&#x6587;&#x672C;&#x548C;&#x4E00;&#x4E2A;&#x6309;&#x94AE;&#xFF0C;&#x901A;&#x8FC7;text&#x548C;button&#x7EC4;&#x4EF6;&#x6765;&#x5B9E;&#x73B0;&#x3002;
&#x5728;&#x201C;Project&#x201D;&#x7A97;&#x53E3;&#xFF0C;&#x9009;&#x62E9;&#x201C;entry &gt; src &gt; main &gt; js &gt; default &gt; pages.index&#x201D;&#xFF0C;&#x6253;&#x5F00;&#x201C;index.hml&#x201D;&#x6587;&#x4EF6;&#xFF0C;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x6587;&#x672C;&#x548C;&#x4E00;&#x4E2A;&#x6309;&#x94AE;&#xFF0C;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-html"><span class="hljs-comment">&lt;!-- index.hml --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;container&quot;</span>&gt;</span>
    <span class="hljs-comment">&lt;!-- &#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x6587;&#x672C; --&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">text</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text&quot;</span>&gt;</span>
        Hello World
    <span class="hljs-tag">&lt;/<span class="hljs-name">text</span>&gt;</span>
    <span class="hljs-comment">&lt;!-- &#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x6309;&#x94AE;&#xFF0C;&#x6309;&#x94AE;&#x6837;&#x5F0F;&#x8BBE;&#x7F6E;&#x4E3A;&#x80F6;&#x56CA;&#x578B;&#xFF0C;&#x6587;&#x672C;&#x663E;&#x793A;&#x4E3A;Next&#xFF0C;&#x7ED1;&#x5B9A;launch&#x4E8B;&#x4EF6; --&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">button</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;button&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;capsule&quot;</span> <span class="hljs-attr">value</span>=<span class="hljs-string">&quot;Next&quot;</span> <span class="hljs-attr">onclick</span>=<span class="hljs-string">&quot;launch&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">button</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>2.&#x6253;&#x5F00;&#x201C;index.css&#x201D;&#x6587;&#x4EF6;&#xFF0C;&#x8BBE;&#x7F6E;&#x6587;&#x672C;&#x548C;&#x6309;&#x94AE;&#x7684;&#x6837;&#x5F0F;&#xFF0C;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/* index.css */</span>
<span class="hljs-selector-class">.container</span> {
    <span class="hljs-attribute">flex-direction</span>: column; <span class="hljs-comment">/* &#x8BBE;&#x7F6E;&#x5BB9;&#x5668;&#x5185;&#x7684;&#x9879;&#x76EE;&#x7EB5;&#x5411;&#x6392;&#x5217; */</span>
    <span class="hljs-attribute">justify-content</span>: center; <span class="hljs-comment">/* &#x8BBE;&#x7F6E;&#x9879;&#x76EE;&#x4F4D;&#x4E8E;&#x5BB9;&#x5668;&#x4E3B;&#x8F74;&#x7684;&#x4E2D;&#x5FC3; */</span>
    <span class="hljs-attribute">align-items</span>: center; <span class="hljs-comment">/* &#x9879;&#x76EE;&#x5728;&#x4EA4;&#x53C9;&#x8F74;&#x5C45;&#x4E2D; */</span>
}
<span class="hljs-comment">/* &#x5BF9;class=&quot;text&quot;&#x7684;&#x7EC4;&#x4EF6;&#x8BBE;&#x7F6E;&#x6837;&#x5F0F; */</span>
<span class="hljs-selector-class">.text</span>{
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">72px</span>;
}
<span class="hljs-comment">/* &#x5BF9;class=&quot;button&quot;&#x7684;&#x7EC4;&#x4EF6;&#x8BBE;&#x7F6E;&#x6837;&#x5F0F; */</span>
<span class="hljs-selector-class">.button</span> {
    <span class="hljs-attribute">width</span>: <span class="hljs-number">362px</span>;
    <span class="hljs-attribute">height</span>: <span class="hljs-number">80px</span>;
    <span class="hljs-attribute">background-color</span>: <span class="hljs-number">#007dff</span>;
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">39px</span>;
    <span class="hljs-attribute">text-color</span>: white;
    <span class="hljs-attribute">margin-top</span>: <span class="hljs-number">20px</span>;
}
</code></pre>
<p>3.&#x4F7F;&#x7528;&#x9884;&#x89C8;&#x5668;&#x6216;&#x6A21;&#x62DF;&#x5668;&#x8FD0;&#x884C;&#x9879;&#x76EE;&#xFF0C;&#x6548;&#x679C;&#x5982;&#x4E0B;&#x56FE;&#x6240;&#x793A;&#xFF1A;</p>
<p><img src="../images/img-8.png"></p>
<h3 id="&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><a name="&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;" class="anchor-navigation-ex-anchor" href="#&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;" class="plugin-anchor" href="#&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x521B;&#x5EFA;&#x53E6;&#x4E00;&#x4E2A;&#x9875;&#x9762;</h3>
<p>1&#x3001;&#x5728;&#x201C;Project&#x201D;&#x7A97;&#x53E3;&#xFF0C;&#x6253;&#x5F00;&#x201C;entry &gt; src &gt; main &gt; js &gt; default&#x201D;&#xFF0C;&#x53F3;&#x952E;&#x70B9;&#x51FB;&#x201C;pages.index&#x201D;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x9009;&#x62E9;&#x201C;New &gt; JS Page&#x201D;&#xFF0C;&#x547D;&#x540D;&#x4E3A;&#x201C;details&#x201D;&#xFF0C;&#x5355;&#x51FB;&#x56DE;&#x8F66;&#x952E;&#x3002;</p>
<p>&#x521B;&#x5EFA;&#x5B8C;&#x6210;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x201C;pages&#x201D;&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;&#x201C;index&#x201D;&#x548C;&#x201C;details&#x201D;&#x6587;&#x4EF6;&#x5939;&#x3002;</p>
<p><img src="../images/img9.png"></p>
<p>2&#x3001;&#x6253;&#x5F00;&#x201C;details.hml&#x201D;&#x6587;&#x4EF6;&#xFF0C;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x6587;&#x672C;&#xFF0C;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-html"><span class="hljs-comment">&lt;!-- details.hml --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;container&quot;</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">text</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text&quot;</span>&gt;</span>
    Hi there
  <span class="hljs-tag">&lt;/<span class="hljs-name">text</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>3&#x3001;&#x6253;&#x5F00;&#x201C;details.css&#x201D;&#x6587;&#x4EF6;&#xFF0C;&#x8BBE;&#x7F6E;&#x6587;&#x672C;&#x7684;&#x6837;&#x5F0F;&#xFF0C;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-comment">/* details.css */</span>
<span class="hljs-selector-class">.container</span> {
    <span class="hljs-attribute">flex-direction</span>: column;
    <span class="hljs-attribute">justify-content</span>: center;
    <span class="hljs-attribute">align-items</span>: center;
}
<span class="hljs-selector-class">.text</span> {
    <span class="hljs-attribute">font-size</span>: <span class="hljs-number">70px</span>;
    <span class="hljs-attribute">text-align</span>: center;
}
</code></pre>
<h3 id="&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;"><a name="&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;" class="anchor-navigation-ex-anchor" href="#&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;" class="plugin-anchor" href="#&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5B9E;&#x73B0;&#x9875;&#x9762;&#x8DF3;&#x8F6C;</h3>
<p>1&#x3001;&#x6253;&#x5F00;&#x7B2C;&#x4E00;&#x4E2A;&#x9875;&#x9762;&#x7684;&#x201C;index.js&#x201D;&#x6587;&#x4EF6;&#xFF0C;&#x5BFC;&#x5165;router&#x6A21;&#x5757;&#xFF0C;&#x9875;&#x9762;&#x8DEF;&#x7531;router&#x6839;&#x636E;&#x9875;&#x9762;&#x7684;uri&#x6765;&#x627E;&#x5230;&#x76EE;&#x6807;&#x9875;&#x9762;&#xFF0C;&#x4ECE;&#x800C;&#x5B9E;&#x73B0;&#x8DF3;&#x8F6C;&#x3002;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-js"><span class="hljs-comment">// index.js</span>
<span class="hljs-keyword">import</span> router <span class="hljs-keyword">from</span> <span class="hljs-string">&apos;@system.router&apos;</span>;

<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> {
  launch() {
    router.push ({
      uri:<span class="hljs-string">&apos;pages/details/details&apos;</span>, <span class="hljs-comment">// &#x6307;&#x5B9A;&#x8981;&#x8DF3;&#x8F6C;&#x7684;&#x9875;&#x9762;</span>
    })
  }
}
</code></pre>
<p>2&#x3001;&#x518D;&#x6B21;&#x8FD0;&#x884C;&#x9879;&#x76EE;&#xFF0C;&#x6548;&#x679C;&#x5982;&#x56FE;&#x6240;&#x793A;&#xFF1A;</p>
<p><img src="../images/img-10.png"></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../01-preface/01-认识华为鸿蒙.html" class="navigation navigation-prev " aria-label="Previous page: 初探鸿蒙">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../../project/" class="navigation navigation-next " aria-label="Next page: 项目实战">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"01-Hello World案例","level":"1.2.2.1","depth":3,"next":{"title":"项目实战","level":"2.1","depth":1,"path":"project/README.md","ref":"./project/README.md","articles":[{"title":"01-环境搭建","level":"2.1.1","depth":2,"path":"project/01-环境搭建.md","ref":"./project/01-环境搭建.md","articles":[]}]},"previous":{"title":"初探鸿蒙","level":"1.2.2","depth":2,"path":"basics/01-preface/01-认识华为鸿蒙.md","ref":"./basics/01-preface/01-认识华为鸿蒙.md","articles":[{"title":"01-Hello World案例","level":"1.2.2.1","depth":3,"path":"basics/02-getting-started/01-hello-world.md","ref":"./basics/02-getting-started/01-hello-world.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","sharing-plus","anchor-navigation-ex","favicon","insert-logo","livereload"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"github":{"url":"https://gitee.com/lurongtao/harmonyos"},"livereload":{},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"./source/images/favicon.jpg","bookmark":"./source/images/favicon.jpg","appleTouch":"./source/images/apple-touch-icon.jpg","appleTouchMore":{"120x120":"./source/images/apple-touch-icon.jpg","180x180":"./source/images/apple-touch-icon.jpg"}},"github-buttons":{"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"insert-logo":{"url":"/images/logo.png","style":"background: skyblue; width: 100%; height: 100%;"}},"theme":"default","author":"古艺散人","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"千锋大前端小册-HarmonyOS","language":"zh-hans","links":{},"gitbook":"3.2.3","description":"HarmonyOS 入门与实战"},"file":{"path":"basics/02-getting-started/01-hello-world.md","mtime":"2021-07-04T22:57:28.750Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-07-04T10:22:55.907Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

